package com.beverages.commodities.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.beans.factory.annotation.Value;

@Configuration
public class NacosConfig {
    @Value("${spring.datasource.url}")
    public String url;

    @Bean
    public void getUrl(){
        System.out.println("url = " + url);
    }
}
